package com.gisuni.sddc.platformManager.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;


/**
 * @see 消息附件类
 * @author anpt
 *
 */
@Table("SDDCGISPLATFORM.ATTACHMENT")
public class Attachment {

	@Column("ID")
	@Name
	private String id;
	
	
	@Column("FILENAME")
	private String fileName;
	
	@Column("OWNER_FLAG")
	private String ownerType;
	
	@Column("OWNER_ID")
	private String owner_id;
	
	@Column("FILEPATH")
	private String filePath;
	
	@Column("FILETYPE")
	private String fileType;
	
	@Column("FLAG")
	private String flag;
	
	@Column("USERID")
	private String userId;

	public String getId() {
		return id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOwnerType() {
		return ownerType;
	}

	public void setOwnerType(String ownerType) {
		this.ownerType = ownerType;
	}

	public String getOwner_id() {
		return owner_id;
	}

	public void setOwner_id(String owner_id) {
		this.owner_id = owner_id;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

    

	@Override
	public String toString() {
		return "Attachment [id=" + id + ", ownerType=" + ownerType + ", owner_id=" + owner_id + ", filePath=" + filePath
				+ ", fileType=" + fileType + ", flag=" + flag + ", userId=" + userId + "]";
	}

	public Attachment() {
		super();
	}
	
	


}
